package com.analyse.stock.mapper;

import com.analyse.stock.model.FundFlowHistoryModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FundFlowHistoryMapper extends BaseMapper<FundFlowHistoryModel> {
    List<FundFlowHistoryModel> getFundFlowHistoryByModel(@Param("model") FundFlowHistoryModel model);

    void updateAvgCapital(@Param("stockCode") String stockCode);
}
